Skip to main content

BENJI_PRI_KEY_JSON Missing Required Field

Meaning:

  • the sample parsed the JSON but required JWK fields were absent

Expected fields:

  • kty - Key type. For BENJI authentication keys, this should be EC, meaning Elliptic Curve
  • crv - Elliptic curve name. In this flow it should be P-256, which is the curve used with ES256 signing
  • x - The public key's x-coordinate
  • y - The public key's y-coordinate
  • d - The private key value
  • kid - Key ID (identifier)
  • iat - Issued at timestamp, indicating when the key record was created